export default {
  namespaced: true,
  state () {
    return {
      tabbarIndex: 0
    }
  },
  mutations: {
    setTabbarIndex (state, index) {
      state.tabbarIndex = index
    }
  },
  getters: {
    tabbarIndex (state) {
      return state.tabbarIndex
    }
  }
}
